package com.atguigu.gulimall.product.bn.bean;

import lombok.*;

/**
 * @author wjj
 * @create 2023-05-14 8:18
 */
@ToString//生成toString
@Data//生成get，set方法
@NoArgsConstructor  //无参构造器
@AllArgsConstructor  //全参构造器
@EqualsAndHashCode
public class User {

    private String name;
    private Integer age;

    private Pet pet;

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

}
